/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'
import i18n from '@/lang/index'

const userRouter = {
  path: '/adminh5/usermanage',
  component: Layout,
  redirect: '/adminh5/usermanage/article/list',
  name: 'User',
  alwaysShow: true,
  meta: {
    title: i18n.t('Customers'),
    icon: 'peoples'
  },
  children: [
    {
      path: 'user',
      component: () => import('@/views/adminh5/usermanage/user/list'),
      name: 'UserList',
      meta: { title: i18n.t('CustomerList'), icon: 'list' }
    }
    // ,
    // {
    //   path: 'address',
    //   component: () => import('@/views/adminh5/usermanage/address/list'),
    //   name: 'UserAddressList',
    //   meta: { title: i18n.t('Address'), icon: 'list' }
    // }
  ]
}
export default userRouter
